// written by Ray Zeller

#ifndef HTMLOUTPUTTER_H_
#define HTMLOUTPUTTER_H_
# include <string>
#include <set>
#include "event.h"
#include "appt.h"
#include "Processor.h"
#include <vector>

using namespace std;


class HTMLOutputter
{
public:
	HTMLOutputter();
	void StandardTable(vector<Event> testEvents);
	virtual ~HTMLOutputter();
private:
	string makeLine(string subject, double start, double end);
	string makeRow(int date);
	string makeTime(int startTime);
	vector<Event> apps;
	bool notUsed(int time, double start, double end);
	set<int> usedDays;
	vector<Event> usedEvents;
	int count(vector<Event> v, Event e);

};


#endif /*HTMLOUTPUTTER_H_*/

